package com.ciwong.epaper.modules.reciteWords.util;

import android.util.Log;

import com.ciwong.epaper.modules.epaper.util.ListenSpeakUtil;
import com.ciwong.epaper.util.SerializableManager;
import com.ciwong.libs.utils.CWSys;

public  class WordUtil {

    public static void clearStudyRecord(){
        CWSys.setSharedInt(ListenSpeakUtil.getCurrentNewWordKey(),0);
        CWSys.setSharedInt(ListenSpeakUtil.getStudyTypeKey(),0);
        CWSys.setSharedInt(ListenSpeakUtil.getReviewWordToReviewKey(),-1);//-1表示没开始做
        CWSys.setSharedInt(ListenSpeakUtil.getCurrentPlanWordCountKey(),-1);
        SerializableManager.getInstance().serialize( ListenSpeakUtil.getReviewNewWordKey(),null);
        Log.e("TAG","删除学习记录了");
    }
}
